home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
SYMBOL
/
Conversions
/
Vectors
/
vector-to-strings
< prev
next >
Wrap
Text File
|
1998-10-23
|
699b
|
25 lines
vector-to-strings rows length &rest vectors
Returns the output of vectors as strings of given length and number of rows in a list. The output can be applied to def-rhythm-apply and compile-song-apply.
(def-rhythm-apply
solo '1/16 (a b (-1 c))
riff1 '1/8 symbols
riff2 '1/16 (eval (symbol-trim 8 symbols))
b&s '1/16t (a)
complex rhythm (a)
(vector-to-strings 4 16 'normal
(gen-sin 3 0.5 64)
(gen-sin 2 0.5 64 30))
)
(vector-to-strings 4 16 'normal
(gen-sin 3 0.5 64)
(gen-sin 2 0.5 64 30))
-->
("--- ------- "
"- - - - -"
" - - -- - "
" ---- - ----")